const express = require( 'express' );
const app = express();
app.listen( 8080 );

app.get( '/login', ( req, res ) => { 
    res.send( '登录' );
} );

app.get( '/index', ( req,res ) => {
    res.send( '首页' );
})